package com.itheima;

import org.apache.log4j.Logger;
import org.junit.Test;

public class Log4jTest {

    //定义log4j 日志记录器
    public static final Logger logger=Logger.getLogger(Log4jTest.class);

    @Test
    public void test01() throws Exception{
        logger.info("hello log4j");
    }

}
